import java.security.PrivateKey;

/**
 * @Auther: 狼芒
 * @Date: 2021/4/8 22:18
 * @Descrintion:
 * @version: 1.0
 */
public class Fan {
    private int speed;//速度
    private Boolean on;//开关
    private double radius;//半径
    private String color;//颜色

    public Fan() {
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public Boolean getOn() {
        return on;
    }

    public void setOn(Boolean on) {
        this.on = on;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Fan{" +
                "speed=" + speed +
                ", on=" + on +
                ", radius=" + radius +
                ", color='" + color + '\'' +
                '}';
    }
}
